package com.geqian.web.serializer;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.BeanProperty;
import com.fasterxml.jackson.databind.ObjectMapper;

public class LongToStringConverter implements SerializationConverter {


    @Override
    public String conversion(Object value, BeanProperty beanProperty, ObjectMapper objectMapper) throws JsonProcessingException {
        return objectMapper.writeValueAsString(value);
    }

}